-- ********** CVN75 START **********
local AirBoss_CVN75 = AIRBOSS:New("CVN-75", "格里芬级核动力航空母舰CVN75")

local window1_CVN75 = AirBoss_CVN75:AddRecoveryWindow(
"5:25","17:00",
1,
nil,
true,25)

AirBoss_CVN75:SetSoundfilesFolder("Airboss Soundfiles/")

-- 航母参数
AirBoss_CVN75:SetLSORadio(133.0)
AirBoss_CVN75:SetMarshalRadio(127.5)
AirBoss_CVN75:SetTACAN(75,"X", "C75")
AirBoss_CVN75:SetICLS(1, "C75")

AirBoss_CVN75:SetMenuSingleCarrier(false)

AirBoss_CVN75:SetMenuRecovery(30, 20, true)

AirBoss_CVN75:Load()

AirBoss_CVN75:SetAutoSave()

AirBoss_CVN75:SetTrapSheet()

function AirBoss_CVN75:OnAfterLSOGrade(From,Event,To,playerData,grade)
  local PlayerData = playerData
  local Grade = grade
  
  local score = tonumber(Grade.points)
  local name = tostring(PlayerData.name)
  
  local msg = "格里芬飞行员" .. name .. "着舰，分数: " .. tostring(score)
  MESSAGE:New(msg ,10, "航空长通报", false):ToAll()
  
end

AirBoss_CVN75:Start()

-- ********** CVN74 START **********
local AirBoss_CVN74 = AIRBOSS:New("CVN-74", "格里芬级核动力航空母舰CVN74")

local window1_CVN74 = AirBoss_CVN74:AddRecoveryWindow(
"5:25","17:00",
1,
nil,
true,25)

AirBoss_CVN74:SetSoundfilesFolder("Airboss Soundfiles/")
-- 航母参数
AirBoss_CVN74:SetLSORadio(134.0)
AirBoss_CVN74:SetMarshalRadio(127.6)
AirBoss_CVN74:SetTACAN(74,"X", "C74")
AirBoss_CVN74:SetICLS(2, "C74")

AirBoss_CVN74:SetMenuSingleCarrier(false)

AirBoss_CVN74:SetMenuRecovery(30, 25, true)

AirBoss_CVN74:Load()

AirBoss_CVN74:SetAutoSave()

AirBoss_CVN74:SetTrapSheet()

function AirBoss_CVN74:OnAfterLSOGrade(From,Event,To,playerData,grade)
  local PlayerData = playerData
  local Grade = grade
  
  local score = tonumber(Grade.points)
  local name = tostring(PlayerData.name)

end

AirBoss_CVN74:Start()